public class Card 
{
    private String face;
    private String suite;

    public Card(String face, String suite)
    {
        this.face = face;
        this.suite = suite;
    }

    @Override
    public String toString()
    {
        return face + " of " + suite;
    }

    public boolean isAce()
    {
        return face.equals("Ace");
    }
    
    public int getNumericValue()
    {
        switch(face)
        {
            case "Ace":
                return 1;
            case "Deuce":
                return 2;
            case "Three":
                return 3;
            case "Four":
                return 4;
            case "Five":
                return 5;
            case "Six":
                return 6;
            case "Seven":
                return 7;
            case "Eight":
                return 8;
            case "Nine":
                return 9;
            default:
                return 10;
        }
    }
}
